import request from '@/utils/request'

//获取用户信息
export const getUserInfo = ()=>{
    return request({
        url: '/api/getUserInfo',
        method: 'get'
    })
}

//登录
export const login = (data:any)=>{
    return request({
        url: '/api/login',
        method: 'post',
        data
    })
}
